//---------------------------------------------------------------------------------------------------
inline std::vector<Bone*>& Skeleton::GetBones()
{
	return m_kBones;
}
//---------------------------------------------------------------------------------------------------
inline Bone* Skeleton::GetBone(std::string& rkBoneName)
{
	for (int i = 0; i < (int)m_kBones.size(); i++)
	{
		if (rkBoneName == m_kBones[i]->GetName())
		{
			return m_kBones[i];
		}
	}
	return 0;
}
//---------------------------------------------------------------------------------------------------
inline Bone* Skeleton::GetBone(int iBoneID)
{
	for (int i = 0; i < (int)m_kBones.size(); i++)
	{
		if (iBoneID == m_kBones[i]->GetBoneID())
		{
			return m_kBones[i];
		}
	}
	return 0;
}
//---------------------------------------------------------------------------------------------------